<?php
class WebsiteAction extends CommonAction {
      //显示所有站点的名称
      public function index(){
             import("@.ORG.Dir");
             $path = $_SERVER['DOCUMENT_ROOT']."/".__ROOT__;
             //echo $path;
             $dir = new Dir($path);
             $dirInfo = $dir ->toArray($path);
             echo "<pre>";
             print_r($dirInfo);
      }
}

?>
